package com.xc.pojo.output;

import com.xc.pojo.Spec;
import com.xc.pojo.WhShelfType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShelfOutput extends BaseEntityOutputBean {
    // @Schema(name = (name = "货架id")
    private Long id;
    // @Schema(name = (title = "编码")
    private String code;
    //@Schema(name = ("名称")
    private String name;
    //@Schema(name = ("所属库区ID")
    private Long areaId;
    //@Schema(name = ("库区名称")
    private String areaName;
    //@Schema(name = ("仓库id")
    private String warehouseId;
    //@Schema(name = ("仓库名称")
    private String warehouseName;
    //@Schema(name = ("货架类型id")
    private String type;
    //@Schema(name = ("类型名称")
    private String typeName;
    //@Schema(name = ("规格信息")
    private Spec spec;
    //@Schema(name = ("状态")
    private Integer status;
    //@Schema(name = ("")
    private String description;
    //@Schema(name = ("类型信息")
    private WhShelfType whShelfType;
    private List<WhShelfUnitsOutput> shelfUnits;
    //@Schema(name = ("更新人")
    private String updateUserName;
    //@Schema(name = ("满载库区数量")
    private Integer fullNum;
    //@Schema(name = ("库区总数量")
    private Integer totalNum;
    //@Schema(name = ("0 无货 1有货 2满载")
    private Integer colorNum;
    //@Schema(name = ("false 未锁定 true锁定")
    private boolean locked;
    //@Schema(name = ("false 不可用 true可用")
    private boolean canUse;
    //@Schema(name = ("使用率")
    private Double useRate;
    //@Schema(name = ("货架内 有货/无货 货架数量")
    private String goodsThan;
    //@Schema(name = ("级别前端使用 仓库1 库区2 货架3 货位4")
    private int level = 3;
    //@Schema(name = ("x坐标")
    private Integer x;
    //@Schema(name = ("y坐标")
    private Integer y;
    //@Schema(name = ("z坐标")
    private Short z;
    //@Schema(name = ("角度")
    private Short angle;
}
